MultiSafepay\WooCommerce\PaymentMethods\Base\BasePaymentMethod C

Total Complexity 114
Dependencies 10
Dependents 3
Total lines 854
Lines of code 502
Logical lines of code 201
Comment lines 167
Methods 32
Properties 10

Methods 32

Method Rating Maintainability Complexity Lines of code
add_form_fields()
B
30 13 145
enqueue_multisafepay_scripts_by_gateway_code()
B
43 19 41
validate_fields()
A
52 10 23
get_payment_method_type()
S
58 7 18
admin_editing_checkout_page()
S
61 7 10
is_payment_component_enabled()
S
57 5 17
__construct()
S
45 3 42
common_wallets_data()
S
55 4 19
build_googlepay_wallet_variables()
S
53 3 24
process_payment()
S
53 3 21
build_applepay_wallet_variables()
S
55 3 19
get_google_apple_pay_use_button()
S
66 4 7
can_refund_order()
S
65 4 9
enqueue_payment_component_scripts()
S
60 3 12
enqueue_payment_component_styles()
S
64 3 11
is_ideal_2_0()
S
64 3 10
is_payment_method_type_direct()
S
75 2 4
check_direct_payment_methods_without_components()
S
68 2 8
has_fields()
S
72 2 6
is_tokenization_enabled()
S
67 2 7
get_payment_method_icon()
S
81 1 3
payment_fields()
S
80 1 3
get_payment_method_description()
S
70 1 7
get_logo()
S
81 1 3
is_woocommerce_checkout_block_active()
S
79 1 3
get_order_statuses()
S
72 1 5
get_payment_method_id()
S
80 1 3
get_defined_direct_payment_methods_without_components()
S
79 1 3
get_payment_method_gateway_code()
S
81 1 3
get_countries()
S
76 1 4
get_user_roles()
S
67 1 9
get_payment_method_title()
S
81 1 3